package com.example.datapedestal.dataAllocation.service;

import com.example.dataPedestal.dataAllocation.entity.DbConfig;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.datapedestal.dataAllocation.controller.form.PACsConfigListForm;
import com.example.datapedestal.utils.vo.CommonResp;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hcy
 * @since 2023-10-31
 */
public interface IDbConfigService<T> extends IService<DbConfig> {

    //添加配置
    int addDbConfig(T ConfigListForm);

    //查询配置
    List<T> getConfig(int type);

    //删除配置
    int deleteConfig(String configName);

    //修改配置
    int updateDbConfig(String param,T ConfigListForm);


}
